package com.sakura.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author : Sakura
 * @Date : 2024/1/2 9:50
 * @Description : TODO
 */
@ApiModel(description = "分页查询求助记录DTO")
@Data
@Accessors(chain = true)//链式编程
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class QueryHelpRequestDTO {
    @ApiModelProperty("求助记录id")
    private Long id;

    @ApiModelProperty("网格员姓名")
    private String GridName;

    @ApiModelProperty("老人姓名")
    private String elderlyName;

    @ApiModelProperty("求助状态")
    private Integer status;

    @ApiModelProperty("当前页码")
    private Integer current;

    @ApiModelProperty("每页数据大小")
    private Integer pageSize;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGridName() {
        return GridName;
    }

    public void setGridName(String gridName) {
        GridName = gridName;
    }

    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
